class Person:
    def __init__(self, name, age, launge):
        self.name =name
        self.age = age
        self.launge = launge
    def talk(self):
        print(f'{self.age}岁的{self.name}正在讲{self.launge}')
    def walk(self):
        print(f'{self.age}岁的{self.name}正在散步')
class ChinaPerson(Person):
    def __init__(self, name, age, launge):
        super().__init__(name, age, launge)

    def talk(self):
        print(f'{self.age}岁的{self.name}正在讲{self.launge}')

xiaoming = Person('小明',21.0,'英文')
xiaomei = ChinaPerson('小美', 22.0,'中文')

xiaoming.walk()
xiaoming.talk()
xiaomei.walk()
xiaomei.talk()